<!DOCTYPE html>
<html>
<head>
    <meta name="layout" content="main"/>
    <g:set var="entityName" value="${message(code: 'productType.label', default: 'ProductType')}"/>
    <title>客户详情</title>
</head>

<body class="fixed-navbar fixed-sidebar">
<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">
            <div id="hbreadcrumb" class="pull-right">
                <ol class="hbreadcrumb breadcrumb">
                    <li>Cake Store</li>
                    <li class="active">
                        <span>客户详情</span>
                    </li>
                </ol>
            </div>

            <h2 class="font-light m-b-xs">
                客户详情
            </h2>
        </div>
    </div>
</div>
<div class="content animate-panel">
    <div class="row">
        <g:if test="${flash.message}">
            <div class="message alert alert-info" role="status">${flash.message}
                <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
                        aria-hidden="true">×</span></button>
            </div>
        </g:if>
        <div class="hpanel hred">
            <div class="panel-heading">
                <div class="panel-tools">
                    <g:link class="btn btn-info btn-xs" action="edit" resource="${this.productType}" id="${it?.productType?.id}"><i class="fa fa-edit"></i> 编辑</g:link>
                    <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                </div>
                客户详情
            </div>

            <div class="panel-body form-horizontal">

                <div class="form-group">
                    <label class="col-md-2 control-label">类型名称</label>

                    <div class="col-md-3">
                        <p class="form-control-static">${this.productType?.name}</p>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-2 control-label">有效性</label>

                    <div class="col-md-3">
                        <p class="form-control-static">${this.productType?.active ? '是' : '否'}</p>
                    </div>

                    <label class="col-md-2 control-label">允许添加尺寸</label>

                    <div class="col-md-3">
                        <p class="form-control-static">${this.productType?.allowAddSize ? '是' : '否'}</p>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-2 control-label">创建时间</label>

                    <div class="col-md-3">
                        <p class="form-control-static"><g:formatDate format="yyyy-MM-dd HH:mm:ss" date="${this.productType?.createdDate}"/></p>
                    </div>

                    <label class="col-md-2 control-label">修改时间</label>

                    <div class="col-md-3">
                        <p class="form-control-static"><g:formatDate format="yyyy-MM-dd HH:mm:ss" date="${this.productType?.modifiedDate}"/></p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
